package com.dance.sharevalidator.service;

import com.dance.sharevalidator.entity.Emp;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public interface IEmpService {
    void add(/*@Valid*/ Emp emp);

    @NotNull Emp getById(@NotNull Long id);
}
